<template>
    <BaseGrid :row-span-fields="rowSpanFields" :stripe="false" :highlightHoverRow="false"  height="600" :datas="tableData" :columns="columns">
    </BaseGrid>
</template>

<script>
import BaseGrid from '@/components/base/BaseGrid'
export default {
    name: 'Rowspan',
    components: { BaseGrid },
    data () {
        return {
            rowSpanFields: [],
            columns: [],
            tableData: []
        }
    },
    created () {
        this.$api.datacont.getRowSpanConfig().then(res => {
            this.columns = res.data.columns
            this.rowSpanFields = res.data.rowSpanFields
        })
        this.$api.datacont.getRowSpanList().then(res => {
            const list = res.data.list
            this.tableData = list
        })
    },
    methods: {
    }
}
</script>

<style scoped>

</style>
